package com.warm.core.exception;

import java.io.Serial;

/**
 * json处理异常
 *
 * @author warm
 */
public final class JsonException extends RuntimeException {

    @Serial
    private static final long serialVersionUID = 1L;

    public JsonException(Throwable e) {
        super(e.getMessage(), e);
    }

    public JsonException(String message) {
        super(message);
    }

    public JsonException(String message, Throwable throwable) {
        super(message, throwable);
    }
}
